package com.clkj.zhonghui.pojo.stored;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import javax.persistence.Column;
import javax.persistence.Id;
import javax.persistence.Table;
import java.io.Serializable;

/**
 * @author yawang
 * @date 2024-07-11 11:30:06
 * 用户储值金总表
 */
@ApiModel( value ="t_zh_userStored" )
@Table( name ="t_zh_userStored" )
public class UserStored  implements Serializable {

    @Id
   	@Column(name = "stored_id" ,updatable = false)
	@ApiModelProperty( value="null")
	private Integer storedId;

	/**
	 * 用户ID
	 */
   	@Column(name = "user_id" )
	@ApiModelProperty( value="用户ID")
	private Integer userId;

	/**
	 * 充值总金额
	 */
   	@Column(name = "total_stored" )
	@ApiModelProperty( value="充值总金额")
	private Double totalStored;

	/**
	 * 当前剩余储值金
	 */
   	@Column(name = "residue_money" )
	@ApiModelProperty( value="当前剩余储值金")
	private Double residueMoney;

	/**
	 * 分享得到的返利
	 */
   	@Column(name = "share_money" )
	@ApiModelProperty( value="分享得到的返利")
	private Double shareMoney;

	/**
	 * 门店ID
	 */
   	@Column(name = "shop_id" )
	@ApiModelProperty( value="门店ID")
	private Integer shopId;

	/**
	 * vip等级
	 */
   	@Column(name = "vip_grade" )
	@ApiModelProperty( value="vip等级")
	private Integer vipGrade;

  public Integer getStoredId() {
    return storedId;
  }

  public void setStoredId(Integer storedId) {
    this.storedId = storedId;
  }


  public Integer getUserId() {
    return userId;
  }

  public void setUserId(Integer userId) {
    this.userId = userId;
  }


  public Double getTotalStored() {
    return totalStored;
  }

  public void setTotalStored(Double totalStored) {
    this.totalStored = totalStored;
  }


  public Double getResidueMoney() {
    return residueMoney;
  }

  public void setResidueMoney(Double residueMoney) {
    this.residueMoney = residueMoney;
  }


  public Double getShareMoney() {
    return shareMoney;
  }

  public void setShareMoney(Double shareMoney) {
    this.shareMoney = shareMoney;
  }


  public Integer getShopId() {
    return shopId;
  }

  public void setShopId(Integer shopId) {
    this.shopId = shopId;
  }


  public Integer getVipGrade() {
    return vipGrade;
  }

  public void setVipGrade(Integer vipGrade) {
    this.vipGrade = vipGrade;
  }

}
